<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewMovExpTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewMovExpLabel_idMovExp}"/>
                    <h:outputText value="#{movExpController.selected.idMovExp}" title="#{bundle.ViewMovExpTitle_idMovExp}"/>
                    <h:outputText value="#{bundle.ViewMovExpLabel_numdocEmitido}"/>
                    <h:outputText value="#{movExpController.selected.numdocEmitido}" title="#{bundle.ViewMovExpTitle_numdocEmitido}"/>
                    <h:outputText value="#{bundle.ViewMovExpLabel_folios}"/>
                    <h:outputText value="#{movExpController.selected.folios}" title="#{bundle.ViewMovExpTitle_folios}"/>
                    <h:outputText value="#{bundle.ViewMovExpLabel_observacion}"/>
                    <h:outputText value="#{movExpController.selected.observacion}" title="#{bundle.ViewMovExpTitle_observacion}"/>
                    <h:outputText value="#{bundle.ViewMovExpLabel_asunto}"/>
                    <h:outputText value="#{movExpController.selected.asunto}" title="#{bundle.ViewMovExpTitle_asunto}"/>
                    <h:outputText value="#{bundle.ViewMovExpLabel_fecha}"/>
                    <h:outputText value="#{movExpController.selected.fecha}" title="#{bundle.ViewMovExpTitle_fecha}">
                        <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                    </h:outputText>
                    <h:outputText value="#{bundle.ViewMovExpLabel_resMd5}"/>
                    <h:outputText value="#{movExpController.selected.resMd5}" title="#{bundle.ViewMovExpTitle_resMd5}"/>
                    <h:outputText value="#{bundle.ViewMovExpLabel_tipoDocInterno}"/>
                    <h:outputText value="#{movExpController.selected.tipoDocInterno}" title="#{bundle.ViewMovExpTitle_tipoDocInterno}"/>
                    <h:outputText value="#{bundle.ViewMovExpLabel_trabajador}"/>
                    <h:outputText value="#{movExpController.selected.trabajador}" title="#{bundle.ViewMovExpTitle_trabajador}"/>
                    <h:outputText value="#{bundle.ViewMovExpLabel_expediente}"/>
                    <h:outputText value="#{movExpController.selected.expediente}" title="#{bundle.ViewMovExpTitle_expediente}"/>
                    <h:outputText value="#{bundle.ViewMovExpLabel_estado}"/>
                    <h:outputText value="#{movExpController.selected.estado}" title="#{bundle.ViewMovExpTitle_estado}"/>
                    <h:outputText value="#{bundle.ViewMovExpLabel_area}"/>
                    <h:outputText value="#{movExpController.selected.area}" title="#{bundle.ViewMovExpTitle_area}"/>
                    <h:outputText value="#{bundle.ViewMovExpLabel_area1}"/>
                    <h:outputText value="#{movExpController.selected.area1}" title="#{bundle.ViewMovExpTitle_area1}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{movExpController.destroyAndView}" value="#{bundle.ViewMovExpDestroyLink}"/>
                <br />
                <br />
                <h:link outcome="Edit" value="#{bundle.ViewMovExpEditLink}"/>
                <br />
                <h:commandLink action="#{movExpController.prepareCreate}" value="#{bundle.ViewMovExpCreateLink}" />
                <br />
                <h:commandLink action="#{movExpController.prepareList}" value="#{bundle.ViewMovExpShowAllLink}"/>
                <br />
                <br />
                <h:link outcome="/index" value="#{bundle.ViewMovExpIndexLink}"/>

            </h:form>
        </ui:define>
    </ui:composition>

</html>
